package hw;

public class car extends Vehicle {
	//属性
	private int loaders;
	
	

	public car(String vehicleName, double vehicleSpeed,int loaders) {
		super(vehicleName, vehicleSpeed);
		this.loaders=loaders;
	}



	@Override
	public void move() {
		System.out.println("这是一辆Car在行驶：");
		super.move();
	}



	public int getLoaders() {
		return loaders;
	}



	public void setLoaders(int loaders) {
		this.loaders = loaders;
	}
	
	
	



}
